import _http from '@/utils/http'

export default {
    capitalQryList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/qry/list',
            apiName: '列表查询',
        }, params, loading, headers)
    },
    shopListAll(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/listAll',
            apiName: '商铺下拉列表',
        }, params, loading, headers)
    },
    shopDetail(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/detail',
            apiName: '商铺详情',
        }, params, loading, headers)
    },
    ruleAllGet(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/withdrow/rule/all/get',
            apiName: '提现配置-查询老配置',
        }, params, loading, headers)
    },
    ruleAllSet(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/withdrow/rule/all/set',
            apiName: '提现配置-提交新配置',
        }, params, loading, headers)
    },
    accountChargeFlow(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/account/charge/flow',
            apiName: '充值记录-通用',
        }, params, loading, headers)
    },
    capitalUseQry(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/use/qry/list',
            apiName: '消费流水列表',
        }, params, loading, headers)
    },
    capitalIncomeFlow(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/income/flow',
            apiName: '佣金明细列表-分润流水与冻结列表通用',
        }, params, loading, headers)
    },
    capitalWithdrawQry(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/withdraw/qry/list',
            apiName: '提现明细列表',
        }, params, loading, headers)
    },
    accountOfflineSubmit(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/account/charge/offline/submit',
            apiName: '提交代充',
        }, params, loading, headers)
    },
    capitalStaticsTotal(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/capital/statics/total',
            apiName: '资产总览',
        }, params, loading, headers)
    },
    accountList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/receive/account/list',
            apiName: '收款账户列表',
        }, params, loading, headers)
    },
}
